package cn.itsource.celljava.system.user.service.impl;

import cn.itsource.celljava.system.user.domain.User;
import cn.itsource.celljava.system.user.mapper.UserMapper;
import cn.itsource.celljava.system.user.service.IUserService;
import cn.itsource.celljava.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

 
@Service
public class UserServiceImpl extends BaseServiceImpl<User> implements IUserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public Long findByPhone(Long phone) {
        return userMapper.findByPhone(phone);
    }
}
